Automattic\WooCommerce\Internal\Logging\RemoteLogger B

Total Complexity 91
Dependencies 13
Dependents 3
Total lines 606
Lines of code 304
Logical lines of code 172
Comment lines 220
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
is_third_party_error()
A
47 14 32
get_formatted_log()
A
43 13 41
log()
A
46 9 38
should_handle()
A
51 8 26
get_wc_version()
S
58 7 15
sanitize_trace()
S
54 6 23
sanitize_request_uri()
S
51 5 27
fetch_new_woocommerce_version()
S
61 6 12
is_remote_logging_allowed()
S
61 5 15
should_current_version_be_logged()
S
62 4 11
handle()
S
62 3 11
sanitize()
S
62 3 11
redact_user_data()
S
56 2 20
build_url()
S
68 3 6
normalize_paths()
S
65 1 9
is_dev_or_local_environment()
S
77 1 3
is_variant_assignment_allowed()
S
74 1 4